package org.example.mapper;

import org.example.entity.WorkPlan;
import org.example.entity.dto.WorkPlanDto;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkPlanMapper {

    int insert(WorkPlanDto workPlanDto);

    int delWork(Integer id);

    void updateWork(WorkPlanDto workPlanDto);

    List<WorkPlan> selectAll();
}
